# Contributor:
# Maintainer:
pkgname=makedepend
pkgver=1.0.6
pkgrel=0
pkgdesc="utility for making makefile dependencies"
url="http://www.freedesktop.org/"
arch="all"
license="MIT"
makedepends="xorgproto util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/util/makedepend-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="eb0e8ee8ab7515806d7d98a060cdcd392ec38e4225e5e05db26daa6651f185d0b764aab403edeea904d4d23211b1f7db20daeee6eafce8abe65225784ed0aa42  makedepend-1.0.6.tar.bz2"
